#include "warning.h"

#include <string>

Warning::Warning(std::string error) : Error(error) {
	
}

void Warning::addWarning(std::string warning) {
	warnings_.push_back(warning);
}

std::string Warning::getWarning(std::vector<std::string>::size_type warningNo) {
	return warnings_.at(warningNo);
}

